UTT REPAINT SCANNER v2.01 - MT5
===============================
UltimateTrading.tools  |  https://ultimatetrading.tools
Telegram: https://t.me/Ultimate_Trading_Tools

Checks every indicator on your chart and tells you which ones change the past.
It is an Expert Advisor that places NO trades. It only watches and reports.

VERDICTS
--------
  NO REPAINT    closed bars never changed while they were watched
  RECALCULATES  closed-bar values or arrow prices shifted afterwards
                (common in MTF lines, centred or adaptive filters, regressions)
  FLICKERS      signals print on the live bar and can vanish before the close
                -> only act on closed candles
  REPAINTS      signals were added to, or removed from, bars that had already
                closed (back-painting / vanishing arrows)
  DEPTH         how many bars back the change happened (worst case seen)

INSTALL
-------
1. MT5 > File > Open Data Folder > MQL5 > Experts
2. Copy UTT_RepaintScanner_MT5_Tool.ex5 into the Experts folder
   (NOT Indicators - it is an Expert Advisor).
3. In MT5 press Ctrl+N, right-click "Expert Advisors" and choose Refresh.
4. Drag it onto the chart that holds the indicators you want to check.
   It does not need Algo Trading switched on, because it never trades.

LIVE USE
--------
- Every indicator on the chart is scanned: main window and sub-windows,
  every buffer, every arrow and line. Indicators you add later are picked up
  automatically.
- M1 gives the fastest answers - repaints usually show within minutes.
  A clean verdict needs at least 30 closed bars, so give it half an hour on M1.
- Click a row to see each buffer. CSV saves a report, RESET starts the
  observation again, "-" minimises the panel.
- An alert fires the first time an indicator is caught.

STRATEGY TESTER (batch report)
------------------------------
Select UTT_RepaintScanner_MT5_Tool in the tester and list the indicators in
the "Also test" input, separated by semicolons, with their inputs in
brackets if needed:
    Examples\ZigZag(12,5,3); MyIndicator; Folder\OtherIndicator
Leave it empty to run the built-in Fractals demo. The report is printed in
the Journal and saved as a CSV in Common\Files. The test result value is the
total number of changes found, so 0 means nothing was caught.

CSV REPORT
----------
Saved to Terminal\Common\Files as UTT_RepaintScanner_<symbol>_<timeframe>.csv
(MT5: File > Open Data Folder, go up one level, then Common\Files).

KEY INPUTS
----------
  History window watched     300 closed bars (20-5000)
  Bars before clean verdict  30
  Grace ticks                3  (an arrow printed in the first 3 ticks after
                                 its bar closes is a normal closed-bar signal)
  Display-limit depth        20 (an indicator that clears bars older than a
                                 fixed depth is not counted as repainting)
  Live check interval        1000 ms
  Dashboard                  corner, margins, rows, font

NOT COUNTED AS REPAINTING
-------------------------
- An arrow printed in the first ticks after its bar closed
- An indicator that clears bars older than a fixed depth (display limit)
- History reloads (shown as "resync")

A "NO REPAINT" verdict means nothing changed while the scanner was watching.
Leave it running longer, on more market conditions, before you trust an
indicator with real money.

Educational tool, not financial advice. Test before you trust.
